@chartset: utf-8;
@mainColor: palegreen;
// 元素居中
.pac() {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%,-50%);
}
.bg( @color:@mainColor ) {
    background-color: @color;
}
.layout {
  width: 100%;
  height: 100%;
  margin: 0;
  .navbar {
    width: 100%;
    height: 50px;
    margin-bottom: 0;
    position: fixed;
    left: 0;
    top: 0;
    z-index: 100;
    border: none;
    border-radius: 0;
    background-color: rgba(0,0,0,.3);
    .container-fluid {
      .navbar-brand {
        color: #f5f5f5;
      }
      .navbar-collapse {
        padding: 0;
        border: none;
        .navbar-nav {
          padding: 0;
          margin: 0;
          background-color: rgba(0,0,0,.3);
        }
      }
      li a {
        color: #f5f5f5;
      }
      li a:hover {
        background: transparent;
        color: #ff0000;
      }
    }

  }
  .aside {
    position: absolute;
    height: 100%;
    width: 200px;
    left: 0;
    top: 0;
    z-index: 1;
    .bg(rgba(0,0,0,.2));
    ul {
      width: 100%;
      height: 100%;
      text-align: center;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      li {
        width: 100%;
        height: 50px;
        line-height: 50px;
        margin-bottom: 20px;
        a {
          font-size: 20px;
          color: #f5f5f5;
          display: block;
          width: 100%;
          height: 100%;
        }
      }
    }
  }
  .article {
      height: 100%;
      width: 100%;
      .section {
        position: relative;
        padding-left: 200px;
        .jumbotron {
          .pac();
          margin: 0;
          padding: 0;
          background-color: transparent;
          h1 {
            color: #FFF6F6;
          }
        }
      }
      .section:nth-child(1) {
        background: url("../images/bg0.jpg") no-repeat center/cover;
      }
      .section:nth-child(2) {
        background: url("../images/bg1.jpg") no-repeat center/cover;
      }
      .section:nth-child(3) {
        background: url("../images/bg2.jpg") no-repeat center/cover;
      }
      .section:nth-child(4) {
        background: url("../images/bg3.jpg") no-repeat center/cover;
      }
      .section:nth-child(5) {
        background: url("../images/timg%20(2).jpg") no-repeat center/cover;
      }
    }
}

.line {
  border-bottom: 2px solid greenyellow;
}

 @media  ( max-width:991px ) {
   .article {
     .section {
       padding-left: 50px !important;
       background-attachment: fixed !important;
     }
   }
 }

/*超小屏设备（手机）的时候article高度设为auto，使用浏览器的滚动条*/
@media  ( max-width:767px ) {
  .article {
    .content {
    }
  }
}
























































/* 设置滚动条的样式 */
::-webkit-scrollbar { width: 10px;}
/* 滚动槽 */
::-webkit-scrollbar-track {
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
  //border-radius: 5px;
}
/* 滚动条滑块 */
::-webkit-scrollbar-thumb {
  //border-radius: 5px;
  background: rgba(0,0,0,0.1);
  -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.1);
}
::-webkit-scrollbar-thumb:window-inactive {
  background: rgba(255,0,0,0.1);
}
